package cn.shop.transcation.inbox.model;

import cn.shop.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author : 李一涵
 * @date : Created in 2022-3-30 10:04
 * @description :
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Inbox extends BaseEntity {

	private Long userId;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;

	/**
	 * 是否已读
	 */
	@TableField("`read`")
	private boolean read;

}
